package jpa4azure.impl;

import java.util.Map;

import javax.persistence.Cache;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.PersistenceUnitUtil;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.metamodel.Metamodel;


public class AzureEntityManagerFactory implements EntityManagerFactory {

	private String storageAccountName;
	private String storageAccountKey;
	
	public AzureEntityManagerFactory(String accountname, String key, Map properties) {
		storageAccountName = accountname;
		storageAccountKey = key;
	}
	
	
	public void close() {
		// TODO Auto-generated method stub

	}

	
	public EntityManager createEntityManager() {
		return new AzureEntityManager(storageAccountName, storageAccountKey);
	}

	
	public EntityManager createEntityManager(Map arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	
	public Cache getCache() {
		// TODO Auto-generated method stub
		return null;
	}

	
	public CriteriaBuilder getCriteriaBuilder() {
		// TODO Auto-generated method stub
		return null;
	}

	
	public Metamodel getMetamodel() {
		// TODO Auto-generated method stub
		return null;
	}

	
	public PersistenceUnitUtil getPersistenceUnitUtil() {
		// TODO Auto-generated method stub
		return null;
	}

	
	public Map<String, Object> getProperties() {
		// TODO Auto-generated method stub
		return null;
	}

	
	public boolean isOpen() {
		// TODO Auto-generated method stub
		return false;
	}

}
